<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
<meta charset="utf-8">
<head th:include="@{include} :: header"></head>
<body>
<div class="layuimini-container">
    <div class="layuimini-main">
        <div class="layui-row">
            <form class="layui-form layui-form-pane" id="signupForm">
                <input id="id" name="id" th:value="${device.id}" type="hidden" />
                <input id="isSelf" name="isSelf" th:value="0" type="hidden" />
                <input id="shopId" name="shopId" th:value="${device.shopId}" type="hidden" />
                <input id="deviceType" name="deviceType" th:value="${device.deviceType}" type="hidden" />
                <input id="isHasBreaker" name="isHasBreaker" value="0" type="hidden" />

                <div class="layui-form-item">
                    <label class="layui-form-label">设备名称</label>
                    <div class="layui-input-block">
                        <input id="deviceName" name="deviceName" th:value="${device.deviceName}" class="layui-input" type="text">
                    </div>
                </div>

                <div class="layui-form-item">
                    <label class="layui-form-label">设备编码</label>
                    <div class="layui-input-block">
                        <input id="deviceNum" name="deviceNum" th:value="${device.deviceNum}" class="layui-input" type="text" />
                    </div>
                </div>

                <div class="layui-form-item">
                    <div style="text-align: center;margin-top: 20px">
                        <button onclick="update()" class="layui-btn layui-btn-normal" >提交</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript" th:src="@{/js/appjs/module/device/ipvoice/detail.js}"></script>
</body>
</html>
